﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP_RORZE_PERMISSION.Base
{
    public class LogConstant
    {
        #region Table / Object
        public class Table
        {
            public class SystemAdmin
            {
                public const string Users = "Permission.Users";
                public const string UserGroups = "Permission.UserGroups";
                public const string Functions = "Permission.Functions";
                public const string Permission = "Permission.Permission";
                public const string BackUpDB = "Permission.BackUpDB";
                public const string RestoreDB = "Permission.RestoreDB";
            }
            
            //Product function constants 
            public class Product
            {
                //Product prefix: 242
                //PartData
                public const string PartMaterial = "Product.PartMaterial";
                public const string OptionData = "Product.OptionData";
                public const string MaterialList = "Product.MaterialList";
                public const string PartList = "Product.PartList";
                public const string Customer = "Product.Customer";
                public const string OverTime = "Product.OverTime";
                public const string Section = "Product.Section";
                //Machine
                public const string MachineList = "Product.MachineList";
                public const string MachineGroup = "Product.MachineGroup";
                public const string MachineDailyTime = "Product.MachineDailyTime";
                //BusOder
                public const string BusOrderList = "Product.BusOrderList";
                //MO
                public const string MOList = "Product.MOList";
                public const string MOMaterial = "Product.MOMaterial";
                public const string MOOption = "Product.MOOption";
                public const string MOActualPrice = "Product.MOActualPrice";
                public const string MONGCheckDetail = "Product.MONGCheckDetail";
                public const string MOQtySatus = "Product.MOQtySatus";
                public const string MOOptionStatus = "Product.MOOptionStatus";
                public const string InLenh = "Product.InLenh";
                //PartHanding
                public const string MonthlyLaborCharge = "Product.MonthlyLaborCharge";
                public const string MonthlyMachineCharge = "Product.MonthlyMachineCharge";
                public const string Machine_Hand = "Product.Machine_Hand";
                public const string Insp_Hand_Return = "Product.Insp_Hand_Return";
                public const string Hand_Insp_Return = "Product.Hand_Insp_Return";
                public const string Hand_Insp = "Product.Hand_Insp";
                public const string Bus_Insp = "Product.Bus_Insp";
                public const string Insp_Bus = "Product.Insp_Bus";
                public const string Insp_Hand = "Product.Insp_Hand";
                public const string Insp_Bus_Return = "Product.Insp_Bus_Return";
                public const string Bus_Insp_Return = "Product.Bus_Insp_Return";
                public const string Insp_Anod = "Product.Insp_Anod";
                public const string Anod_Qty_Change = "Product.Anod_Qty_Change";
                public const string Anod_Insp = "Product.Anod_Insp";
                public const string Insp_F3 = "Product.Insp_F3";
                public const string F3_Store = "Product.F3_Store";
                //DeadLine
                public const string Deadline_Confirm = "Product.Deadline_Confirm";
                public const string DeadlineCheck = "Product.242_DeadlineCheck";
                public const string Deadline_Caculation = "Product.Deadline_Caculation";
                //Monthly Charge
                public const string Monthly_Expence = "Product.Monthly_Expence";
                public const string Monthly_Charge_Update = "Product.Monthly_Charge_Update";
                //Quotation
                public const string QuotationList = "Product.QuotationList";
                public const string QuotationMachine = "Product.QuotationMachine";
                public const string QuotationMaterial = "Product.QuotationMaterial";
                public const string QuotationCaculation = "Product.QuotationCaculation";
                public const string QuotationView = "Product.QuotationView";
                //WTS
                public const string MachineWTS = "Product.MachineWTS";
                public const string LaborWTS = "Product.LaborWTS";
                public const string WTStoGALabor = "Product.WTStoGALabor";
                public const string WTSDensan = "Product.WTSDensan";
                public const string WTStoGAMachine = "Product.WTStoGAMachine";
                public const string DataTranfer = "Product.DataTranfer";
                public const string Datasheet = "Product.Datasheet";
                public const string JigReport = "Product.JigReport";
                //Report
                public const string F2_WTS_Detail_Report = "Product.F2_WTS_Detail_Report";
                public const string LinhVCuong = "Product.LinhVCuong";
                public const string TableImport = "Product.TableImport";
                public const string BaoCaoKeHoach = "Product.BaoCaoKeHoach";
                public const string NGNoiBo = "Product.NGNoiBo";
                public const string CheckThoiGianLamViec = "Product.CheckThoiGianLamViec";
                public const string TGLamViecThang = "Product.TGLamViecThang";
                //Xử lý bề mặt
                public const string XLBM = "Product.XLBM";
                public const string KH_HangNgay = "Product.KH_HangNgay";
                public const string HangTon = "Product.HangTon";
                public const string KH_Tong = "Product.KH_Tong";
                public const string MeMa = "Product.MeMa";
                //In cấu hình
                public const string ConfigureList = "Product.ConfigureList";
                public const string KinhDoanhList = "Product.KinhDoanhList";
                public const string RessionList = "Product.RessionList";
                public const string RequireList = "Product.RequireList";
                public const string ShapeList = "Product.ShapeList";
                public const string ConfigureData = "Product.ConfigureData";
                public const string ListQuery = "Product.ListQuery";
                //Basic list
                public const string Work = "Product.Work";
                public const string Jigs = "Product.Jigs";
                public const string Expence = "Product.Expence";
                public const string Options = "Product.Options";
            }

            //Tool cutting
            public class ToolCutting
            {
                public const string Frequency = "ToolCutting.Frequency";
                public const string Maker = "ToolCutting.Maker";
                public const string Mistake = "ToolCutting.Mistake";
                public const string ProcessStatus = "ToolCutting.ProcessStatus";
                public const string Rotate = "ToolCutting.Rotate";
                public const string Supplier = "ToolCutting.Supplier";
                public const string ToolGroups = "ToolCutting.ToolGroups";
                public const string Tools = "ToolCutting.Tools";
                public const string ToolStatus = "ToolCutting.ToolStatus";
                public const string Kind = "ToolCutting.Kind";
                public const string Rate = "ToolCutting.Rate";
                public const string Borrow = "ToolCutting.Borrow";
                public const string Broken = "ToolCutting.Broken";
                public const string Import = "ToolCutting.Import";
                public const string Return = "ToolCutting.Return";
                public const string JustNew = "ToolCutting.Just New";
            }

            //F2 Order
            public class F2Order
            {
                public const string Currency = "F2Order.Frequency";
                public const string Kind = "F2Order.Kind";
                public const string Maker = "F2Order.Maker";
                public const string Orders = "F2Order.Orders";
                public const string OrderDelivery = "F2Order.OrderDelivery";
                public const string OrderInput = "F2Order.OrderInput";
                public const string PGroup = "F2Order.PGroup";
                public const string Product = "F2Order.Product";
                public const string ProductGroup = "F2Order.ProductGroup";
                public const string Purchase = "F2Order.Purchase";
                public const string Purpose = "F2Order.Purpose";
                public const string Supplier = "F2Order.Supplier";
                public const string Unit = "F2Order.Unit";
            }

            //BasicList function constants 
            public class General
            {
                public const string Country = "General.Country";
                public const string Group = "General.Group";
                public const string Staff = "General.Staff";
                public const string Maker = "General.Maker";
                public const string Supplier = "General.Supplier";
                public const string Part = "General.Part";
                public const string UnitExchange = "General.UnitExchange";
                public const string PartClass = "General.PartClass";
                public const string Unit = "General.Unit";
                public const string ShipTo = "General.ShipTo";
                public const string Fuctions = "General.Fuctions";
                public const string Permission = "General.Permission";
                public const string Users = "General.Users";
                public const string UserGroups = "General.UserGroups";

                public const string BankAccount = "General.BankAccount";
                public const string Currency = "General.Currency";
                public const string ExchangeRate = "General.ExchangeRate";
                public const string Customer = "General.Customer";
                public const string Payment = "General.Payment";
                public const string Comp = "General.Comp";
                public const string Kosei = "General.Kosei";
                public const string IQ = "General.IQ";
                public const string DeliveryTerm = "General.DeliveryTerm";
                public const string Transport = "General.Transport";
                public const string Section = "General.Section";
            }

            //Business function constants 
            public class Business
            {
                public const string ImportQuotation = "Business.ImportQuotation";
                public const string ExportQuotation = "Business.ExportQuotation";
                public const string ExportRobotQuotation = "Business.ExportRobotQuotation";
                public const string ExportPartQuotation = "Business.ExportPartQuotation";

                public const string Clearance = "Business.Clearance";
                public const string Clearance_Order = "Business.Clearance_Order";
                public const string PurchaseOrder = "Business.PurchaseOrder";
                public const string PurchaseInformation = "Business.PurchaseInformation";
                public const string MasterPO = "Business.MasterPO";
                public const string MasterPODetails = "Business.MasterPODetails";
                public const string PartReceive = "Business.PartReceive";
                public const string PartMistake = "Business.PartMistake";
                public const string StoreInputEstimate = "Business.StoreInputEstimate";

                public const string ExportPlan = "Business.ExportPlan";
                public const string IQLastRemain = "Business.IQLastRemain";
                public const string RZCode = "Business.RZCode";
                public const string RZConsumption = "Business.RZConsumption";
                public const string ConsumptionExportCheck = "Business.ConsumptionExportCheck";
                public const string IQRealTime = "Business.IQRealTime";

                public const string Forecast = "Business.Forecast";

                public const string POReport = "Business.POReport";
                public const string MasterPOReport = "Business.MasterPOReport";
            }

            //Assembly function constants 
            public class Assembly
            {
                public const string F5ControlPlanning = "Assembly.F5ControlPlanning";
                public const string F5ControlWTS = "Assembly.F5ControlWTS";
                public const string F5Search = "Assembly.F5Search";
                public const string F5LocalError = "Assembly.F5LocalError";
                public const string F5ExportError = "Assembly.F5ExportError";

                public const string F4Comp = "Assembly.F4Comp";
                public const string F4SerialInput = "Assembly.F4SerialInput";
                public const string F4AssemblyPlanning = "Assembly.F4AssemblyPlanning";
                public const string F4AssemblyWTS = "Assembly.F4AssemblyWTS";
                public const string F4AssemblyExport = "Assembly.F4AssemblyExport";
                public const string F4Search = "Assembly.F4Search";
                public const string F4AssemblyPrstring = "Assembly.F4AssemblyPrstring";
                public const string F4AssemblyCheck = "Assembly.F4AssemblyCheck";
                public const string F4LocalError = "Assembly.F4LocalError";
                public const string F4ExportError = "Assembly.F4ExportError";

                public const string MaterialCalculation = "Assembly.MaterialCalculation";
                public const string MaterialOrder = "Assembly.MaterialOrder";
                public const string MaterialImport = "Assembly.MaterialImport";
                public const string MaterialExport = "Assembly.MaterialExport";

                public const string F5Yoyaku = "Assembly.F5Yoyaku";

                public const string AssemblyReport = "Assembly.AssemblyReport";
            }            

        }

        #endregion

        #region Task
        public class Task
        {
            public const string Insert = "Insert";
            public const string Transfer = "Transfer";
            public const string Delete = "Delete";
            public const string Cancel = "Cancel";
            public const string Update = "Update";
            public const string View = "View";
            public const string Import = "Import";
            public const string Login = "Login";
            public const string SignOut = "Logout";
        }            

        #endregion

        #region Message
        public class Message
        {
            public const string Import = "Import {0} row(s): {1}";
        }            

        #endregion
    }
}
